﻿using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace YL.Core.Entity
{
    [SugarTable("whr_mio_file")]
    public class Whr_mio_file
    {
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public long Id { get; set; }

        [SugarColumn(ColumnName = "type")]
        public byte Type { get; set; }

        [SugarColumn(ColumnName = "filename")]
        public string FileName { get; set; }

        [SugarColumn(ColumnName = "bucket_name")]
        public string BucketName { get; set; }

        [SugarColumn(ColumnName = "content_type")]
        public string ContentType { get; set; }

        [SugarColumn(ColumnName = "create_at")]
        public DateTime CreateAt { get; set; } = DateTime.Now;

        [SugarColumn(ColumnName = "object_id")]
        public string ObjectId { get; set; }
    }
}
